package cn.ac.cintcm.synonymous;

import java.util.Set;

public class QeryParam {
    private Set<TableParam> params;
    private boolean isEqual;
    public boolean isEqual() {
        return isEqual;
    }
    public void setEqual(boolean isEqual) {
        this.isEqual = isEqual;
    }
    public Set<TableParam> getParams() {
        return params;
    }
    public boolean addParam(TableParam param) {
        return params.add(param);
    }
    
    public boolean removeParam(short id) {
        return params.remove(new TableParam(id));

    }
}
